Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed OSX Support #446

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fixed OSX Support #446

wants to merge 2 commits into from

Conversation

krenaud
Copy link

@krenaud krenaud commented Nov 1, 2023

.gitignore: Added exclusions
buildreqs.sh: Renamed buildreqs_lin.sh and added new file which calls _lin or _osx depending on platform.
buildreqs_osx.sh: Uses miniforge3 or Anaconda environments to setup a replicable python environment.
conda_autoortho.yml: Setup for a working python environment. Works for OSX, but should be useable for Windows/Linux too,
Makefile: added target osx_bin
autoortho/autoortho_fuse.py: Removed condition that causes the module to not expose any methods. This shows up as a FUSE error that Run attribute is not present.
autoortho/aoimage/Aoimage.py: Added path to .dylib
autoortho/aoimage/Makefile.osx: Added makefile for OSX.

.gitignore: Added exclusions
buildreqs.sh: Renamed buildreqs_lin.sh and added new file which calls _lin or _osx depending on platform.
buildreqs_osx.sh: Uses miniforge3 or Anaconda environments to setup a replicable python environment.
conda_autoortho.yml: Setup for a working python environment. Works for OSX, but should be useable for Windows/Linux too,
Makefile: added target osx_bin
autoortho/autoortho_fuse.py: Removed condition that causes the module to not expose any methods. This shows up as a FUSE error that Run attribute is not present.
autoortho/aoimage/Aoimage.py: Added path to .dylib
autoortho/aoimage/Makefile.osx: Added makefile for OSX.
@krenaud
Copy link
Author

krenaud commented Nov 1, 2023

SFAntti's addition in autoortho.py, lines 143 and forward is not included since I don't know if it is needed or not.

log.info(f"Checking DDS file compression:")
dds_compressor = CFG.pydds.compressor.upper()
if dds_compressor != "ISPC" and platform.system().lower() == 'darwin':
    log.warning(f"    {dds_compressor} FAILED! Not supported on MacOS, use ISPC instead!")
    failed = True
else:
    log.info(f"    {dds_compressor} OK!")

@ILANKRT
Copy link

ILANKRT commented Sep 1, 2024

I have no knowledge about programming so I used chatGPT for the installation of autoortho for x-Plane 12 on my M1 Mac. I came to the point where chat GPT makes a loop and give me no solution for autoortho opening and crashing after second page. Hier the actual situation : Saving config ...
Wrote config file: /Users/ilandr.kreitmann/.autoortho
Mac OS Version is 14.6.1 and patch enabled so applying the patch

  • Serving Flask app 'flighttrack'
  • Debug mode: off
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on http://127.0.0.1:5001
    Press CTRL+C to quit
    Transparent color not supported on this platform (windows only)
    (autoortho_env) ilandr.kreitmann@Ilans-iMac ~ %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants